package game;

import school.Course;

import java.util.ArrayList;
import java.util.List;
import java.util.ArrayList;
/**
 * 创建玩游戏的人
 */
public class People {
    private int id;
    private String name;
    /**
     * 存储每个人拿到的牌的
     */

    private List<Card> peopleCardList=new ArrayList<Card>();;
    public People(){

    }

    public List<Card> getPeopleCardList() {
        return peopleCardList;
    }

    public void setPeopleCardList(Card card) {

        peopleCardList.add(card);
    }

    public int getId() {
        return id;
    }

    public String getName() {
        return name;
    }

    public void setId(int id) {
        this.id = id;
    }

    public void setName(String name) {
        this.name = name;
    }
    public People(int id,String name){
        this.id=id;
        this.name=name;
    }

}
